<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
    <title>{$store['store_name']} - 淘嘟嘟商家店铺</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/ghs_category.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/home/index.css"/>
    <script src="__JQ__" type="text/javascript" charset="utf-8"></script>
    <script src="__JS__/home/share.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript" src="__JS__/layer/layer.js"></script>
    <script type="text/javascript" src="__JS__/jquery.layer.js"></script>
    <script src="__JS__/taodudu.lib.js" type="text/javascript" charset="utf-8"></script>
</head>

<body>
<!--公共头部-->
<include file="Public/head_a"/>
<include file="Public/head_b"/>

<link rel="stylesheet" type="text/css" href="__CSS__/home/ghs_style.css"/>
<link rel="stylesheet" type="text/css" href="__CSS__/home/ghs_index.css"/>
<div class="jShopHeader" style="position: relative;z-index: 11;">
    <div class="jFixWidth">
        <div class="jShopHeaderArea">
            <div class="j-shopHeader">
              <div id="div_pro" class="jLogo">
                    <a href="{:U('index',array('store_id'=>$store['store_id']))}">{$store['store_name']}</a>
                </div>
                <div class="jRating">
                    <div id="float_box" style="position: absolute; left: 1002.91px; top: 30px; display: none;" class="jRatingTotal">
                        <ul class="shopTolal">
                            <li><span><a href="{:U('index',array('store_id'=>$store['store_id']))}"><img width="90" height="45" src="{$store['store_label']}" style="margin:0 36px;"></a></span></li>
                            <li><span>店铺名称：</span><span>{$store['store_name']}</span></li>
                            <li style="border-top:1px dashed #F5AFB1 "><span>商店等级：</span><span>{$store['grade_id']}</span></li>
                            <li><span>所在地区：</span><span>{$store['area_info']}</span></li>
                            <li><span>创店时间：</span><span>{:date('Y-m-d',$store['store_time'])}</span></li>
                        </ul>
                    </div>
                    <script type="text/javascript">
                        $(".j-shopHeader").hover(function () {
                            $("#float_box").show();
                        }, function () {
                            $("#float_box").hide();
                        })
                    </script>
                </div>
            </div>
            <div class="jAttention">
                <a fav_id="{$store['store_id']}" onclick="favorites($(this).attr('fav_id'),40,0)"><span class="guanzhu_txt_num">
                	<if condition="$user_num neq 0">已关注<else />加关注</if>({$store['store_collect']})</span></a>
            </div>
            <div title="郑州晚报惠生活在线客服" id="im" class="im jIm"><b><a href="http://wpa.qq.com/msgrd?v=3&uin=2799231362&site=qq&menu=yes" target="_blank" title="点击这里给我发消息">在线客服</a></b></div>
            <div class="ghs_score"><span>描述</span><em>{$store['store_desccredit']}%</em></div>
            <div class="ghs_score"><span>服务</span><em>{$store['store_servicecredit']}%</em></div>
            <div class="ghs_score"><span>物流</span><em>{$store['store_deliverycredit']}%</em></div>
        </div>
    </div>
</div>
<!--店铺横图-->
<!--<div class="dian_zhao">
	<span class="zhu_logo"><img src="__IMG__/home/dianzhao_06.png"/></span>
	<span class="shop_name">这是店铺名字</span>
	<span onclick="favorites($(this).attr('fav_id'),40,3)" class="guanzhu{$store['store_id']}"><img src="__IMG__/home/dianzhao_03.png" /></span>
</div>-->
    <include file="Public/store_banner"/>

<!--店铺横图-->
<notempty name="store_slide">
    <div class="banner">
        <ul class="banner_main">
            <foreach name="store_slide" item="v" key="k">
                <li><a href="{$store_slide_url[$k]}"><img src="{$v}"></a></li>
            </foreach>
        </ul>
    </div>
    <script src="__JS__/home/banner.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
        $(".banner").imgscroll({})
    </script>
</notempty>

<div class="ghs_content">
    <div class="promotionWrapper">
        <div class="left">
            <div class="leftTitle">
                <h3>今日新品</h3>
            </div>
            <div class="leftItem">
                <foreach name="goods_new" item="v">
                    <div class="itemWrapper">
                        <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank" title="{$v['goods_title']}">
                            <img src="{$v['goods_thumb']}" alt="{$v['goods_title']}" height="260" width="260">
                            <h5>{$v['goods_title']}</h5>
                            <div class="price">￥{$v['goods_price']}</div>
                            <div style="" class="buyBtn">查看详情</div>
                        </a>
                    </div>
                </foreach>
            </div>
        </div>
        <style>
            .rank,
            .tabcon {
                padding: 0px;
            }
        </style>
        <script>
            var old = new Array();

            function show_goodspic(id, type) {
                if (old[type] != null) {
                    document.getElementById(type + "b" + old[type]).style.display = 'none';
                    document.getElementById(type + "s" + old[type]).style.display = 'block';
                }
                document.getElementById(type + "s" + id).style.display = 'none';
                document.getElementById(type + "b" + id).style.display = 'block';
                old[type] = id;
            }
        </script>
        <div class="right">
            <div id="weekRank" class="ghs_top">
                <h3 class="mall_cat">销量排行榜</h3>
                <div class="top10List clearfix">
                    <ul class="tabcon">
                        <foreach name="goods_sales" key="k" item="v">
                            <li class="fore fore1" id="top2b{$k+1}" style="display:none; ">
                                <span>{$k+1}</span>
                                <div class="p-img">
                                    <a target="_blank" href="{:HOME_URL}/Goods/{$v['goods_id']}"> <img src="{$v['goods_thumb']}" alt="{$v['goods_title']}" width="50" height="50"></a>
                                </div>
                                <div class="p-name">
                                    <a target="_blank" href="{:HOME_URL}/Goods/{$v['goods_id']}">{$v['goods_title']}</a>
                                </div>
                                <div class="price" style=" color:#DD0000;">
                                    ￥{$v['goods_price']}
                                </div>
                            </li>
                            <li class=" fore1" id="top2s{$k+1}" onmouseover="show_goodspic({$k+1},'top2')">
                                <span>{$k+1}</span>
                                <div class="p-name">
                                    <a href="{:HOME_URL}/Goods/{$v['goods_id']}">{$v['goods_title']}
                                        <font color="#ff6600"></font>
                                    </a>
                                </div>
                            </li>
                        </foreach>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div style="clear:both"></div>

    <foreach name="store_goods_class" item="v" >
        <notempty name="v.goods">
        <div class="floorWrapper floorWrapper_0">
            <div class="floorTitle">
                <ul class="J_tabList">
                    <li class="current">{$v['stc_name']}</li>
                </ul>
                <div class="floorLine"></div>
            </div>
            <div class="floorContent">
                <foreach name="v['goods']" item="vo" key="k">
                        <div class="itemOuter {$k == 4*$k ? '' : 'itemOuter_ts'}">
                            <div class="itemWrapper">
                                <a href="{:HOME_URL}/Goods/{$vo['goods_id']}" title="{$vo['goods_title']}">
                                    <img src="{$vo['goods_thumb']}" alt="{$vo['goods_title']}" height="220" width="220">
                                    <h6>{$vo['goods_title']}</h6>
                                    <div class="priceSection">
                                        <div class="priceNumber">
					    <span class="mainPrice">￥{$vo['goods_price']}</span>
                                            <span class="subPrice"><del>￥{$vo['goods_markprice']}</del></span>
                                        </div>
                                    </div>
                                </a>
                            </div>
                        </div>
                </foreach>
            </div>
            <div style="clear:both"></div>
        </div>
        </notempty>
    </foreach>


    <div style="height:0px; line-height:0px; clear:both;"></div>
</div>
<!--公共底部-->
<div style="clear: both"></div>
<div class="site-footer">
    <div class="footer-related">
        <include file="Public/bootom_b" />
        <include file="Public/bootom_c" />
    </div>
</div>

<include file="Public/cart" />
</body>

</html>